cmake_minimum_required(VERSION 2.8.3)
project(odom_d)

add_compile_options(-std=c++11)

find_package(catkin REQUIRED COMPONENTS    
    roscpp 
    std_msgs
)

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES scout_messenger
  CATKIN_DEPENDS ugv_sdk scout_msgs
)

include_directories(
    include
    ${catkin_INCLUDE_DIRS}
)


add_executable(odom_d src/odom_d.cpp)
target_link_libraries(odom_d ${catkin_LIBRARIES})


install(DIRECTORY include/${PROJECT_NAME}/
  DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})

install(DIRECTORY launch
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})